<template>
  <div id="app">
    <router-view class="viewMv"></router-view>
    <router-link to="/home" class="tab-item">首页</router-link>
    <router-link to="/cart" class="tab-item">购物车</router-link>
    <router-link to="/cate" class="tab-item">分类</router-link>
    <router-link to="/my" class="tab-item">我的</router-link>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.viewMv {
  margin-left: 240px;
}
.tab-item {
  margin: 10px 7px;
  text-decoration: none;
  color: #2c3e50;
}
</style>
